package com.newtouch.bxzs.database.model.bo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * MenuTreeBO: 菜单树BO
 *
 * <p>
 * <b>History:</b>
 * <table border="1">
 * <tr>
 * <th>Date</th>
 * <th>Operator</th>
 * <th>Memo</th>
 * </tr>
 * <tr>
 * <td>2021/1/5 10:20</td>
 * <td>zhangqianyang</td>
 * <td>Create</td>
 * </tr>
 * </table>
 *
 * @author zhangqianyang
 * @version 1.0.0
 * @since 1.0.0
 */
@Data
@ApiModel("菜单树BO")
public class MenuTreeBO implements Serializable {

    private static final long serialVersionUID = 686508642792462904L;

    @ApiModelProperty("菜单id")
    private String menuId;

    @ApiModelProperty("菜单父级id")
    private String parentMenuId;

    @ApiModelProperty("菜单名称")
    private String menuName;

    @ApiModelProperty("子菜单列表")
    private List<MenuTreeBO> children;
}
